package cn.cxj.org.domain;

import cn.cxj.basic.domain.BaseDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 部门实体类
 * @author 陈鑫杰
 */
@Data
public class Department extends BaseDomain {
    private String sn;
    private String name;

    @ApiModelProperty("上级部门id路径,可以不传")
    private String dirPath;
    private Integer state;
    private Long manager_id;
    private Employee manager;
    private Long parent_id;
    private Department parent;

    List<Department> children;
}
